package com.buba.system.dao;

import com.buba.system.pojo.Employee;
import com.buba.system.pojo.Page;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface EmployeeMapper {

    Employee selEmployee(String employeeId);

    Long selCountAll();

    List<Employee> selEmployeeAll(Page<Employee> page);

    Long selCount(Map<String, Object> map);

    List<Employee> selAllEmployee(Map<String, Object> map);


    Integer addEmployee(Map<String, Object> map);

    long addJob(Map<String, Object> map);

    Integer delEmployee(List<String> list);

    Integer delEmployeeAll(List<String> list);

    Integer updEmployee(Map<String, Object> map);
}
